//
//  LDY_PlayViewController.h
//  ProjectB
//
//  Created by dlios on 15/11/23.
//  Copyright © 2015年 lulu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <STKAudioPlayer.h>
#import "CXFirstDetailModel.h"

@interface LDY_PlayViewController : UIViewController
@property (nonatomic, retain)STKAudioPlayer *player;

//播放的网址
@property(nonatomic, copy) NSString *playUrl;
@property(nonatomic, copy) NSString *pic;

//存放所有音乐
@property(nonatomic, retain) NSMutableArray *allMusicArray;

//存放点击的第几个cell
@property(nonatomic, assign) NSInteger indexRow;
@property(nonatomic, retain) CXFirstDetailModel *detailModel;
@property(nonatomic, copy) NSString *name;
@property (nonatomic, retain) UIButton *backButton;
@property (nonatomic, retain) UIButton *playButton;
@property (nonatomic, retain) UIButton *previousButton;
@property (nonatomic, retain) UIButton *nextButton;
@property (nonatomic, retain) UIButton *circleButton;
@property (nonatomic, retain) UIButton *shareButton;
@property (nonatomic, retain) UIButton *voiceButton;
@property (nonatomic, retain) UIImageView *headPicImageView;
@property (nonatomic, retain) UILabel *headTitleNameLabel;
@property (nonatomic, retain) UILabel *headNamelabel;
@property (nonatomic, retain) UISlider *slider;
@property (nonatomic, retain) UITableView *tableView;
@property (nonatomic, retain) NSArray *titleNameArr;
@property (nonatomic, retain) NSTimer *musicTime;
@property (nonatomic ,retain)NSTimer *timer;  //定时器
@property (nonatomic, retain)NSArray *tempArray;
@property (nonatomic, retain)UIImageView *backImageView;
@property (nonatomic, retain) UISlider *sliderVolumeProgress;
@property (nonatomic, retain)UILabel *labelBeginTim;
@property(nonatomic ,retain)UILabel *labelBEndTim;

@property (nonatomic, retain) UILabel *nowPlayLable;
@property (nonatomic, retain) UIButton *saveButton;
@property (nonatomic, retain)NSArray *searchHistoryArray;

+(LDY_PlayViewController *)sharePlayer;
- (void)setData:(NSMutableArray *)songs row:(NSInteger)row;

@end
